package com.lx.seckill.service;

import com.lx.seckill.pojo.TSeckillProduct;

import java.util.List;
import java.util.concurrent.CompletableFuture;

/**
 * TODO 添加描述
 *
 * @author wangLJ
 * @date 2024/7/18 11:32
 */
public interface TseckillProductService {
    List<TSeckillProduct> list();

    TSeckillProduct  byid();

    void updateStockCount();

    String preheat();

    String putIfAbsent();


    CompletableFuture<String> asynPreheat();
}
